package com.augurit.gzcgwsp.excelimportexport.service;

import java.io.IOException;
import java.io.InputStream;
import java.util.Map;

import com.augurit.gzcgwsp.rqqyjyxk.web.form.YwRqQyjyxkForm;

/**
 * excel导入
 * 
 * @author xgw
 * 
 */
public interface IYwRqQyjyxkImportservice {
    /**
     * excel导入
     * 
     * @param qyid
     * @param acceptNo
     * @param username
     * @param params
     * @param uploadFile
     */
    public void importExcel(long rqjyxkid,long qyid, String acceptNo, String username,
            String params, InputStream uploadFile,String contextpath) throws Exception;

    /**
     * excel导出
     * 
     * @param qyid
     * @param acceptNo
     * @param username
     * @param params
     * @param uploadFile
     */
    public String exportExcel(long qyid, String acceptNo, String username,
            String params,String path,Long ajid,String importType) throws Exception;

    /**
     * 窗口收案的导入 
     * @param map 传递的参数
     * @return
     */
    public String importFinalData(YwRqQyjyxkForm form,Map map);

    public Map importFinalQyData(YwRqQyjyxkForm form, Map map);

    /**
     * 根据申请材料检查导入的人员情况
     * @param filepath
     * @return
     */
	public String checkPersonData(String filepath,Long qyid);
}
